import request from '@/utils/request'

export const interviewListAPI = (params) => {
  return request({
    url: '/h5/interview/query',
    params
  })
}
export const detailAPI = (params) => {
  return request({
    url: '/h5/interview/show',
    params
  })
}

export const likeFlagAPI = (data) => {
  return request({
    url: '/h5/interview/opt',
    method: 'post',
    data
  })
}
export const getOptList = (params) => {
  return request({
    url: '/h5/interview/opt/list',
    params
  })
}
export const getUserInfo = (params) => {
  return request({
    url: '/h5/user/currentUser',
    params
  })
}
